var builder = WebApplication.CreateBuilder(args).Inject();

builder.Services.AddDatabaseAccessor(options =>
{
    
});

builder.Services.AddControllers().AddInject();

var app = builder.Build().UseDefaultServiceProvider();

app.UseAuthorization();

app.UseInject();

app.MapControllers();

app.Run();
